﻿package newcommerce.events
{
	import flash.events.Event;	
	
	public class FlexibleEvent extends Event
	{		
		public var _args:Object;

		public function FlexibleEvent(type:String, args:Object)
		{
			_args = args;
			super(type);
		}
		
		public function get(index:String):Object
		{
			return _args[index];
		}
		
		public override function toString():String {
			return "newcommerce.events.FlexibleEvent";
		}
	}
}